<!DOCTYPE html>
<!-- saved from url=(0036)http://www.imooc.com/user/setprofile -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<link rel="stylesheet" type="text/css" href="{:ADDON_PUBLIC_PATH}/css/zui.min.css">
<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/base.css" type="text/css">
<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/common-less.css" type="text/css">
<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/common-less(1).css" type="text/css">
<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/profile-less.css" type="text/css">
<link rel="stylesheet" type="text/css" href="{:ADDON_PUBLIC_PATH}/css/mycss.css">
</head>
<script type="text/javascript">
//====页面动态加载C-Lodop云打印必须的文件CLodopfuncs.js====

var head = document.head || document.getElementsByTagName("head")[0] || document.documentElement;

//让其它电脑的浏览器通过本机打印（仅适用C-Lodop自带的例子）：
var oscript = document.createElement("script");
oscript.src ="/CLodopfuncs.js";
head.insertBefore( oscript,head.firstChild );

//让本机的浏览器打印(更优先一点)：
oscript = document.createElement("script");
oscript.src ="http://localhost:8000/CLodopfuncs.js?priority=2";
head.insertBefore(oscript,head.firstChild );

//加载双端口(8000和18000）避免其中某个端口被占用：
oscript = document.createElement("script");
oscript.src ="http://localhost:18000/CLodopfuncs.js?priority=1";
head.insertBefore( oscript,head.firstChild );


//====获取LODOP对象的主过程：====
function getLodop(oOBJECT,oEMBED){
    var LODOP;
    try{
        try{ 
		LODOP=getCLodop();
	} catch(err) {};

        if (!LODOP && document.readyState!=="complete") {
		alert("C-Lodop没准备好，请稍后再试！"); 
		return;
	};

	//清理原例子内的object或embed元素，避免乱提示：
	if (oEMBED && oEMBED.parentNode) oEMBED.parentNode.removeChild(oEMBED);
	if (oOBJECT && oOBJECT.parentNode) oOBJECT.parentNode.removeChild(oOBJECT);	

        return LODOP;
    } catch(err) {alert("getLodop出错:"+err);};
};


function needCLodop(){
	return true;  //本例子强制所有浏览器都调用C-Lodop
};
</script>
<body style="background-color: #DEFAE3">




<div id="main">

<div class="settings-cont clearfix">
  <div class="setting-left l">
    <div class="avator-wapper">
      <div class="avator-mode">
        <img class="avator-img" src="<if condition="$sdata['photo_url']">{$sdata['photo_url']}<else/>{:ADDON_PUBLIC_PATH}/img/touxiang.jpg</if>" width="92" height="92">
        <div class="update-avator">
        </div>
      </div>
      <div class="des-mode">
        
      </div>
    </div>

   
    <div class="list-wapper">
      <h2>账户管理</h2>
      <div class="line"></div>
      <ul class="menu">
        
        <li>个人信息</li>
       
      </ul>
    </div>
  </div>
  <div class="setting-right">
    <div class="setting-right-wrap wrap-boxes settings">
        
 <div class="formBox">
    <div id="setting-profile" class="setting-wrap setting-profile">
        
        <div class="common-title">
            个人信息
        <a href="{:U('updateInfo',array('sid'=>I('get.sid'),'aid'=>I('get.aid')))}" class="pull-right js-edit-info">
             <i class="icon icon-edit"></i>编辑</a> 
        </div>
        <div class="line"></div>
        <div class="info-wapper">
            <div class="info-box clearfix">
                <label class="pull-left">姓名</label><div class="pull-left">{$sdata['username']}</div>
            </div>
            <div class="info-box clearfix">
                <label class="pull-left">学号</label><div class="pull-left">{$sdata['no']}</div>
            </div>
            <div class="info-box clearfix">
                <label class="pull-left">手机号码</label>
                <div class="pull-left">
                              {$sdata['mobile']}
                                </div>
            </div>
            
            <div class="info-box clearfix">
                <label class="pull-left">身份证号</label><div class="pull-left">{$sdata['card_id']}</div>
            </div>
            <div class="info-box clearfix">
                <label class="pull-left">班级</label><div class="pull-left">{$sdata['class']}</div>
            </div>
        </div>
        <div class="info-btn pull-right">
        	 <button class="btn btn-success" type="submit"  onclick="myPreview3();">确认</button><br/>

        </div>
    </div>
</div>

    </div>
  </div>
</div>

</div>

<div id="footer">
    <div class="waper">
        <div class="footerwaper clearfix">
            
            <div class="footer_intro l">
                <p>Copyright © 2015  广州番禺职业技术学院  All Rights Reserved.</p>
            </div>
        </div>
    </div>
</div>
<script language="javascript" type="text/javascript"> 
        var LODOP; //声明为全局变量
	function myPreview3() {	
		LODOP=getLodop();  	
		LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_打印图片3");
		LODOP.SET_PRINT_PAGESIZE(2,400,300,1);
		LODOP.ADD_PRINT_IMAGE(0,10,90,90,"<img border='0' src='{$pic}' />");
		LODOP.SET_PRINT_STYLEA(0,"Stretch",2);//按原图比例(不变形)缩放模式
		LODOP.ADD_PRINT_HTM(90,0,110,20,"<div style=\"text-align:center;font-size:12px\" >{$sdata['username']}</div>\n\n");
		LODOP.ADD_PRINT_HTM(105,0,110,20,"<div style=\"text-align:center;font-size:12px\" >{$sdata['no']}</div>\n\n");
		// LODOP.ADD_PRINT_HTM(120,0,110,20,"<div style=\"text-align:center;font-size:12px\" >云创微生活科技</div>\n\n");
		// LODOP.PREVIEW();
		LODOP.PRINT();		
	};	
		
</script>



</body></html>